package com.stive.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stive.reggie.entity.Orders;

import java.util.Date;

/**
 * @author NULL
 * @version 1.0
 * @date 2023/8/11 19:25
 */
public interface OrdersService extends IService<Orders> {

    //用户下单
    public void submit(Orders orders);

    Page<Orders> pageOrders(int page, int pageSize, String number, Date beginTime, Date endTime);
}
